package tijava.generics;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import net.mindview.util.New;

public class GenericParam {

	static void print(List<? extends String> list) {
		System.out.println(list);
	}

	static <T> List<T> list() {
		return new ArrayList<T>();
	}

	public static void main(String[] args) {
		print(list());
		print(GenericParam.<String> list());

		Object newInstance = Array.newInstance(String.class, 10);
	}
}
